<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<ui:composition
	template="/administration/general/templates/template.xhtml">
	<ui:define name="menu">
		<ui:include src="/administration/general/templates/menu.xhtml" />
	</ui:define>
	<ui:define name="content">
		<h:form>
		<h:messages style="color:red;"></h:messages>
		<h:outputText value="Monitoreo de Actividades"></h:outputText>
		
			<h:dataTable value="#{infraestructureBean.log}" var="logs"
				styleClass="order-table" headerClass="order-table-header"
				rowClasses="order-table-odd-row,order-table-even-row">
				<h:column>
					<f:facet name="header">id registro</f:facet>
					#{logs.id}
				</h:column>
				<h:column>
					<f:facet name="header">Nombre de la máquina</f:facet>
					#{infraestructureBean.name}
				</h:column>
				<h:column>
					<f:facet name="header">tarea de la máquina</f:facet>
					#{logs.work}
				</h:column>
				<h:column>
					<f:facet name="header">estado de la tarea</f:facet>
					#{logs.stateWork}
				</h:column>
				<h:column>
					<f:facet name="header">fecha inicio tarea</f:facet>
					#{logs.startDate}
				</h:column>
				<h:column>
					<f:facet name="header">fecha fin tarea</f:facet>
					#{logs.endDate}
				</h:column>
				<h:column>
					<f:facet name="header">fileCheck</f:facet>
					#{logs.fileCheck}
				</h:column>
			</h:dataTable>
		</h:form>
	</ui:define>
</ui:composition>
</html>